<div class="content-skeleton">

	<div class="some_blank_space"></div>

	<!--<ul id="portfolio-cats" class="filter clearfix">
		<li><a href="#" class="active" data-filter="*"><span>All</span></a></li>
		<li><a href="#" data-filter=".applications"><span>Applications</span></a></li>
		<li><a href="#" data-filter=".aaa"><span>Music</span></a></li>
		<li><a href="#" data-filter=".photography"><span>Photography</span></a></li>
	</ul> /portfolio-cats -->

	<div id="content-center">
		<div class="cleaner_h10"></div>
		<form method="post" action="<?php echo base_url(); ?>modul/wisata/search">
		<input type="text" class="input-teks" size="70" value="<?php if($this->input->post('cari')) echo $this->input->post('cari'); else echo 'Cari Wisata...'; ?>" onblur="if(this.value=='') this.value='<?php echo 'Cari Wisata...'; ?>';" onfocus="if(this.value=='<?php echo 'Cari Wisata...'; ?>') this.value='';" name="cari"  />
		<select name="provinsi">
			<option value="" <?php if($this->input->post('provinsi') AND ($this->input->post('provinsi')=='')) echo "selected"; ?> ><?php echo 'Semua Provinsi'; ?></option>
			<?php
				$benua_query = $this->db->get('provinsi');
				$benua_all = $benua_query->result();

				foreach ($benua_all as $key => $benua) {
					echo "<option value='$benua->id_provinsi' ";
					if($this->input->post('provinsi') AND ($this->input->post('provinsi')==$benua->id_provinsi)) echo "selected";
					echo ">$benua->provinsi</option>";
				}
			?>
		</select>
		<input type="submit" value="Search" class="input-tombol" style="margin:0;padding: 9px 30px;" />
		</form>

	</div>

	<div class="some_blank_space"></div>

	<?php
		if($gets_wisata == null) echo "<h1>Wisata Tidak ditemukan!</h1>";
	?>

	<div class="portfolio-content">

		<?php
		foreach ($gets_wisata as $key => $get_wisata) {
		?>

		<ul class="grid cs-style">
			<li class="portfolio-item col- portofolio ">
				<figure>
					<img src="<?php echo base_url() . $get_wisata->url_gambar_wisata; ?>" alt="<?php echo $get_wisata->judul_wisata; ?>" />
					<figcaption>
						<h6><a href="<?php echo base_url(); ?>modul/wisata/view/<?php echo $get_wisata->id_wisata; ?>"><?php echo $get_wisata->judul_wisata; ?></a></h6>
						<a href="<?php echo base_url(); ?>modul/wisata/view/<?php echo $get_wisata->id_wisata; ?>" class="circle-arrow"></a>
					</figcaption>
				</figure>
			</li>
		</ul>

		<?php
		}
		?>

	</div><!--/portfolio-content -->

	<div class="pagination-wrap">
		<span>Page <?php echo $posisi; ?> of <?php echo $total_page; ?></span>

			<?php
	        for($i=1;$i<=$total_page;$i++){
	            if($i==1){
	                if($i==$posisi) echo "<span class=current>$i</span>"; 
	                else echo anchor($base_url,$i,'class="inactive"');
	            } else if ($i==$posisi){
	            	echo "<span class=current>$i</span>";
	            } else {
	                echo anchor($base_url . '/' . $i,$i,'class="inactive"');
	            }
	        }
	        ?>

	</div>

	<div class="some_blank_space"></div>